$OpenBSD: patch-kresources_blog_CMakeLists_txt,v 1.1 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- kresources/blog/CMakeLists.txt.orig	Tue Jul  1 12:53:19 2014
+++ kresources/blog/CMakeLists.txt	Tue Jul  1 12:53:52 2014
@@ -9,7 +9,7 @@ set(kcal_resourceblog_LIB_SRCS resourceblog.cpp resour
 
 kde4_add_library(kcal_resourceblog ${LIBRARY_TYPE} ${kcal_resourceblog_LIB_SRCS})
 
-target_link_libraries(kcal_resourceblog ${KDE4_KDECORE_LIBS} ${KDEPIMLIBS_KCAL_LIBS} ${KDEPIMLIBS_KBLOG_LIBS} kdepim)
+target_link_libraries(kcal_resourceblog kdepim ${KDEPIMLIBS_KCAL_LIBS} ${KDEPIMLIBS_KBLOG_LIBS} ${KDE4_KDECORE_LIBS})
 
 set_target_properties(kcal_resourceblog PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
 
@@ -22,12 +22,12 @@ set(kcal_blog_PART_SRCS resourceblog_plugin.cpp )
 kde4_add_plugin(kcal_blog ${kcal_blog_PART_SRCS})
 
 target_link_libraries(kcal_blog
-  ${KDE4_KDECORE_LIBS}
+  kcal_resourceblog
+  kdepim
   ${KDEPIMLIBS_KCAL_LIBS}
   ${KDEPIMLIBS_KRESOURCES_LIBS}
+  ${KDE4_KDECORE_LIBS}
   ${QT_QTGUI_LIBRARY}
-  kcal_resourceblog
-  kdepim
 )
 
 install(TARGETS kcal_blog  DESTINATION ${PLUGIN_INSTALL_DIR})
